package org.gpf.simpleFactory.operaiton;
/**
 * 客户端
 * @author gaopengfei
 * @date 2015-4-26 上午11:45:58
 */
public class OperationTest {

	public static void main(String[] args) {

		Operation op = OperationFactory.getOperationInstance("+");
		op.setNumber1(1);
		op.setNumber2(2);
		System.out.println(op.getResult());
	}

}
